{% if post.has_tags %}
    <div class="tags">
        <p><span class="label">tags: </span>
            {% for tag in post.tags.all %}
            <a class="tag" href="{{ host_url }}/blog/tags/{{ tag.name }}">
                {{ tag.name }}
            </a>
            {% if not forloop.last %}&#44;&nbsp;{% else %}
                &#46;{% endif %}
        {% endfor %}</p>
    </div>
{% endif %}
